package com.zmj.sy.mom.srv.aps.bean.entity.nest;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Comment("套料-接收零件信息")
@Getter
@Setter
@TableName("tb_nest_receive_part")
public class NestReceivePart extends BaseEntity {

    @Comment("订单号")
    private Integer orderId;

    @Comment("下料计划号")
    private Integer planId;

    @Comment("零件编号")
    private String plmId;

    @Comment("零件名称")
    private String materName;

    @Comment("长度(mm)")
    private BigDecimal length;

    @Comment("宽度(mm)")
    private BigDecimal width;

    @Comment("厚度(mm)")
    private BigDecimal thickness;

    @Comment("面积")
    private BigDecimal area;

    @Comment("最小矩形面积")
    private BigDecimal rectangleArea;

    @Comment("单件零件净重")
    private BigDecimal netWeight;

    @Comment("零件图纸路径")
    private String partPng;

    @Comment("钢板号")
    private String plateCode;

    @Comment("已套数量")
    private Integer totalCount;

    @Comment("分拣数")
    private Integer sortingCount;

    @Comment("唯一号")
    private String uniCode;

    @Comment("切割编号也就是套料图号")
    private String nestCode;

    @Comment("推送到MES的订单号")
    private String mesOrderCode;

    @Comment("推送到MES的包号")
    private String mesPkgCode;

    @Comment("零件在MES中的套料ID")
    private Integer mesLineId;

}
